package Bridge;


public class TestBridge {
    public static void main(String[] args) {
    	 
    	//CASE 1 - Making Tea - Manual or Auto
    	//Case 1.1 Manual
    	Tea makeTea = new Tea("Make Tea");
        makeTea.setBrew(new ManualBrew());
        makeTea.displayDrink();
        //Case 1.2 Auto
        makeTea.setBrew(new AutoBrew());
        makeTea.displayDrink();
        
        // OR
        //CASE 2 - Making Green Tea -  Manual or Auto
    	GreenTea makeGreenTea = new GreenTea("Make Green Tea");
    	makeGreenTea.setBrew(new ManualBrew());
    	makeGreenTea.displayDrink();
        //Case 1.2 Auto
    	makeGreenTea.setBrew(new AutoBrew());
    	makeGreenTea.displayDrink(); 
    }
}
